1 using System.Collections;
2 using
System.Collections.Generic;
3 using
UnityEngine;
4
5 public
class GUIChessboardMaker : MonoBehaviour {
6
7     
private Grid grid;
8     
public GridCoords coords;
9     
10     
void Awake() {
11         
/*
12         PlayerPrefs.DeleteAll();
13         
14         PieceData pData =
new PieceData();
15         pData.coords =
new GridCoords(1,1);
16         pData.pieceType = PieceType.CIRCLE;
17         pData.playerType = PlayerType.P2;
18
19         FileHelper.Serialize(
"pawn1", pData);
20         PieceData pData2 = FileHelper.Deserialize<PieceData>(
"pawn1");
21         Debug.Log(pData2);
22         */

23     }
24 }


Gõ tìm kiếm nhanh...